package kr.moiba.commonCd.dao;

import java.util.List;
import java.util.Map;

import kr.moiba.commonCd.domain.CommonCd;

/**
 * @author Lee Youngho
 *
 */
public interface CommonCdDao {

	public List<CommonCd> SelectListHeader(Map<String, Object> condition) throws Exception;
	
	public Integer SelectListTotalCntHeader(Map<String, Object> condition) throws Exception;
	
	public CommonCd selectHeader(Integer idx) throws Exception;
	
	public CommonCd insertHeader(CommonCd commonCd) throws Exception;
	
	public CommonCd updateHeader(CommonCd commonCd) throws Exception;
	
	public int deleteHeader(Map<String, Object> condition) throws Exception;
	
	public List<CommonCd> SelectListData(Map<String, Object> condition) throws Exception;
	
	public Integer SelectListTotalCntData(Map<String, Object> condition) throws Exception;
	
	public CommonCd selectData(Integer idx) throws Exception;
	
	public CommonCd insertData(CommonCd commonCd) throws Exception;
	
	public CommonCd updateData(CommonCd commonCd) throws Exception;
		
	public int deleteData(Map<String, Object> condition) throws Exception;
	
}